package com.songtech.server.frame.utils;

import com.songtech.server.constant.TcpServer;

/**
 * Create By YINN on 2018/4/16 10:59
 * Description :
 */
public class AnalyzeUtils {

    private final static String SEPARATOR = TcpServer.SEPARATOR;

    /**
     * Created by YINN on 2018/4/9 16:10.
     * @Description : 获取设备imei
     * @param msg
     * @Result :
     */
    public static String getIMEI(String msg) {
        return msg.split(SEPARATOR)[1];
    }

    public static String getConfirmCmd(String msg) {
        return msg.split(SEPARATOR)[2];
    }
}
